---
title: Example Programs
description: Example Anchor programs references
---

## Basics

| Example                                                                                                                       | Description                                |
| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| [checking-accounts](https://github.com/solana-developers/program-examples/tree/main/basics/checking-accounts)                 | Checking account example with Anchor       |
| [close-account](https://github.com/solana-developers/program-examples/tree/main/basics/close-account)                         | Close account example with Anchor          |
| [counter](https://github.com/solana-developers/program-examples/tree/main/basics/counter)                                     | Counter program using Anchor               |
| [create-account](https://github.com/solana-developers/program-examples/tree/main/basics/create-account)                       | Create accounts with Anchor                |
| [cross-program-invocation](https://github.com/solana-developers/program-examples/tree/main/basics/cross-program-invocation)   | Cross program invocation with Anchor       |
| [favorites](https://github.com/solana-developers/program-examples/tree/main/basics/favorites)                                 | Store user "favorites" with Anchor         |
| [hello-solana](https://github.com/solana-developers/program-examples/tree/main/basics/hello-solana)                           | Basic "Hello, Solana!" program with Anchor |
| [pda-rent-payer](https://github.com/solana-developers/program-examples/tree/main/basics/pda-rent-payer)                       | PDA rent payer example with Anchor         |
| [processing-instructions](https://github.com/solana-developers/program-examples/tree/main/basics/processing-instructions)     | Process instructions using Anchor          |
| [program-derived-addresses](https://github.com/solana-developers/program-examples/tree/main/basics/program-derived-addresses) | Program-derived addresses with Anchor      |
| [realloc](https://github.com/solana-developers/program-examples/tree/main/basics/realloc)                                     | Reallocate account data with Anchor        |
| [rent](https://github.com/solana-developers/program-examples/tree/main/basics/rent)                                           | Calculate account SOL rent with Anchor     |
| [transfer-sol](https://github.com/solana-developers/program-examples/tree/main/basics/transfer-sol)                           | Transfer SOL tokens with Anchor            |

## Tokens

| Example                                                                                                         | Description                       |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| [create-token](https://github.com/solana-developers/program-examples/tree/main/tokens/create-token)             | Create an SPL token with Anchor   |
| [escrow](https://github.com/solana-developers/program-examples/tree/main/tokens/escrow)                         | Escrow program using Anchor       |
| [nft-minter](https://github.com/solana-developers/program-examples/tree/main/tokens/nft-minter)                 | Mint NFTs using Anchor            |
| [nft-operations](https://github.com/solana-developers/program-examples/tree/main/tokens/nft-operations)         | NFT operations with Anchor        |
| [pda-mint-authority](https://github.com/solana-developers/program-examples/tree/main/tokens/pda-mint-authority) | PDA as mint authority with Anchor |
| [spl-token-minter](https://github.com/solana-developers/program-examples/tree/main/tokens/spl-token-minter)     | SPL token minting with Anchor     |
| [token-fundraiser](https://github.com/solana-developers/program-examples/tree/main/tokens/token-fundraiser)     | Token fundraiser using Anchor     |
| [token-swap](https://github.com/solana-developers/program-examples/tree/main/tokens/token-swap)                 | Swap tokens with Anchor           |
| [transfer-tokens](https://github.com/solana-developers/program-examples/tree/main/tokens/transfer-tokens)       | Transfer SPL tokens using Anchor  |

## Token Extensions

| Example                                                                                                                          | Description                             |
| -------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
| [basics](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/basics)                               | Basics of Token 2022 with Anchor        |
| [cpi-guard](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/cpi-guard)                         | CPI guard example with Anchor           |
| [default-account-state](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/default-account-state) | Default account state setup with Anchor |
| [group](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/group)                                 | Token grouping example with Anchor      |
| [immutable-owner](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/immutable-owner)             | Immutable owner setup with Anchor       |
| [interest-bearing](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/interest-bearing)           | Interest-bearing tokens using Anchor    |
| [memo-transfer](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/memo-transfer)                 | Memo transfer with Anchor               |
| [metadata](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/metadata)                           | Token metadata with Anchor              |
| [mint-close-authority](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/mint-close-authority)   | Mint close authority with Anchor        |
| [multiple-extensions](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/multiple-extensions)     | Multiple extensions example with Anchor |
| [nft-meta-data-pointer](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/nft-meta-data-pointer) | NFT metadata pointer with Anchor        |
| [non-transferable](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/non-transferable)           | Non-transferable tokens using Anchor    |
| [permanent-delegate](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/permanent-delegate)       | Permanent delegate setup with Anchor    |
| [transfer-fee](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/transfer-fee)                   | Transfer fees example with Anchor       |
| [transfer-hook](https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/transfer-hook)                 | Transfer hook example with Anchor       |
